package com.yunxin.core.infra.common.product.enums;

import com.yunxin.common.base.IBaseEnum;
import lombok.Getter;

/**
 * @author zero°
 * @since 2023-05-31
 */
@Getter
public enum ProductTypeEnum implements IBaseEnum<Integer> {

    /**
     * 产品类型 1.信用贷 2.车抵贷 3.房抵贷 4.企业贷 5.商户贷
     */
    CREDIT_LOAN(1, "信用贷"),

    CAE_LOAN(2, "车抵贷"),
    HOUSE_LOAN(3, "房抵贷"),
    ENTERPRISE_LOAN(4, "企业贷"),
    MERCHANT_LOAN(5, "商户贷"),
    ;

    private final Integer value;

    private final String label;


    ProductTypeEnum(Integer value, String label) {
        this.value = value;
        this.label = label;
    }
}
